import {request} from "../../request";

export function getGerrorById(id){
    return request({
        url:`/sys/log-error/${id}`,
        method:'get'
    })
}


export function getGerrorPage(data){
    return request({
        url:'/sys/log-error/page',
        method:'put',
        data:data
    })
}

export function putGerror(data){
    return request({
        url:'/sys/log-error',
        method:'put',
        data:data
    })
}
export function postGerror(data){
    return request({
        url:'/sys/log-error',
        method:'post',
        data:data
    })
}

export function deleteGerror(data){
    return request({
        url:`/sys/log-error`,
        method:'delete',
        data:data
    })
}
export function exportGerror(data){
    return request({
        url:`/sys/log-error/export`,
        method:'get',
        data:data,
        responseType:'blob'
    })
}
